package com.source.lightfowl.DTO;


import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;


/**
 * @Author: cxy
 * @Description: 屠宰市场excel上传数据类
 */

@Data
public class SlaughterHouseUploadDTO {

    @ExcelProperty("屠宰市场名称")
    private String name;
    @ExcelProperty("成立日期")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT-8")
    private Date establishDate;
    @ExcelProperty("市场简介")
    private String marketIntroduction;
    @ExcelProperty("负责人姓名")
    private String userName;
    @ExcelProperty("联系人姓名")
    private String contactsName;
    @ExcelProperty("省")
    private String province; //省
    @ExcelProperty("市")
    private String city; //市
    @ExcelProperty("区")
    private String district; //区
    @ExcelProperty("详细地址")
    private String address; //详细地址
    @ExcelProperty("经度")
    private String longitude;//经度
    @ExcelProperty("纬度")
    private String latitude; //纬度

}
